home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / GameKit / Makefiles / lib / Makefile.lib.user < prev    next >
Makefile  |  1995-06-12  |  4KB  |  118 lines

  1. #
  2. #  NeXT Internal Library Makefile
  3. #  Copyright 1987, 1991, NeXT Computer, Inc.
  4. #
  5. #  This Makefile is used for NeXT software libraries.
  6. #
  7. #  Fill in values for the various variables at the places marked by
  8. #  **number**.  Any rules or dependencies of your own can be added
  9. #  at the end of the file.
  10. #
  11.  
  12. # directory where included Makefiles are located.
  13. MAKE_DIR = /LocalDeveloper/Makefiles/lib
  14.  
  15. #  **1**  -LIBRARY NAME-
  16. #  The base name of the library goes here. This should be the same
  17. #  name as the SGS project the library is built under.  For example, if
  18. #  you enter "appkit" as the name, then the name of the SGS project
  19. #  should be "appkit", and the library created will be "libappkit.a".
  20. NAME = 
  21.  
  22. #  **2**  -SOURCE FILES-
  23. #  Here list the .m, .c, .psw, .pswm, .s, .l, .lm, .y, .ym, .ps and
  24. #  .spec files.  You may delete any lines that you don't use.
  25. #  OTHER_SRCS is used for files with other suffixes that you wish
  26. #  to be treated like source (i.e., printed with the source, copied
  27. #  with the source, etc.).  For files in OTHER_SRCS, you need to
  28. #  specify the corresponding .o file in OTHER_SRCS_OFILES.
  29. MFILES = 
  30. CFILES = 
  31. PSWFILES = 
  32. PSWMFILES = 
  33. SFILES = 
  34. LFILES = 
  35. LMFILES = 
  36. YFILES = 
  37. YMFILES = 
  38. PSFILES = 
  39. OTHER_SRCS = 
  40. OTHER_SRCS_OFILES =
  41.  
  42. #  **3**  -COMMAND OPTIONS-
  43. #  These are passed as arguments to the Objective-C compiler, pswrap, 
  44. #  as, lex, yacc and speculate.  You may delete lines that you don't use.  
  45. #  All CFLAGS also get passed to Objective-C.
  46. #    DEBUGCFLAGS is substituted for CFLAGS when "debug" is made.
  47. #    PROFCFLAGS is substituted for CFLAGS when "profile" is made.
  48. #  Under OBJCFLAGS, for each library that you use that supplies class
  49. #  and message group files, you must use a -I$(OBJDIR)/XXX, where
  50. #  XXX is the base name of the library.
  51. OBJCFLAGS = 
  52. OPTCFLAGS = -O
  53. DEBUGCFLAGS = -g -DDEBUG -Wall
  54. PROFCFLAGS = -pg -g
  55. SHLIBCFLAGS = -O -DSHLIB
  56. PSWFLAGS = 
  57. ASFLAGS = 
  58. LFLAGS = 
  59. YFLAGS = 
  60. RANLIBFLAGS = 
  61. IFLAGS = -q -c  -m 444 -o root -g wheel
  62. MKDIRSFLAGS = -m 755 -o root -g wheel
  63. ARFLAGS = ruv
  64. VERSFLAGS = -l
  65.  
  66. #  **4**  -INCLUDE FILES-
  67. #  Private include files are used by the library's code, but not needed
  68. #  by the library's users.  Public include files are needed by others who
  69. #  will use the library, and must be installed along with the library.
  70. #  Compatibility include files are used to provide for compatibility with
  71. #  previous releases.  Local include files are only used by other local projects.
  72. PUBLIC_INCFILES = 
  73. COMPAT_INCFILES =
  74. LOCAL_INCFILES =
  75. PRIVATE_INCFILES = 
  76.  
  77. #  **5**  -BY_PRODUCTS GENERATED FROM BUILDS-
  78. #  If your build procedure creates any files other than .o files and the
  79. #  .c and .m files left over from pswrap, you should list them here so
  80. #  they are removed when a make clean is done.
  81. BY_PRODUCTS = 
  82.  
  83. #  **6**  -INSTALLATION LOCATIONS-
  84. #  The following directories determines where files get installed.
  85. # places where libraries get installed
  86. LIBDIR = $(DSTROOT)/usr/lib
  87. SHLIBDIR = $(DSTROOT)/usr/shlib
  88.  
  89. # places where headers get installed
  90. INCDIR = $(DSTROOT)/NextDeveloper/Headers/$(NAME)
  91. COMPATINC = $(DSTROOT)/NextDeveloper/2.0CompatibleHeaders/$(NAME)
  92. LCLINC = $(DSTROOT)/LocalDeveloper/Headers/$(NAME)
  93.  
  94. # place where PostScript package files get installed
  95. PSLIBDIR = $(DSTROOT)/usr/lib/NextStep
  96.  
  97. #this file included for standard functionality
  98. include $(MAKE_DIR)/Makefile.lib
  99.  
  100. #  **7**  -ALL AND INSTALL TARGETS-
  101. #  You must define your ownb all and install targets here.  "all" should
  102. #  build all products of your project.  "install" should install these
  103. #  products in the filesystem whose root is $(DSTROOT).  There are certain
  104. #  targets defined in Makefile.lib which you can use to fulfill the all
  105. #  and install targets.  These are optimized, debug, profile, shlib,
  106. #  optimized_install, debug_install, profile_install, shlib_install,
  107. #  and common_install.
  108. all:: profile
  109.  
  110. install:: common_install profile_install
  111.  
  112.  
  113. # You may comment in this line to get dependencies for the include files
  114. # you use.  To generate the dependencies, do a "make depend".
  115. #include Makefile.depends
  116.  
  117. #  any extra rules or dependencies can be added after this line
  118.